type int = number;
//class FrameUtil
    
    export  class FrameUtil
    {
       

        public static set frameStartTime(arg1: int)
        {
            FrameUtil._frameStartTime = arg1;
            FrameUtil._flag = true;
            return;
        }

        public static canOperate(): Boolean
        {
            if (!FrameUtil.isOpen) 
            {
                return true;
            }
            if (FrameUtil._flag == false) 
            {
                return false;
            }
            FrameUtil._flag = flash.utils.getTimer() - FrameUtil._frameStartTime < FrameUtil.FrameMaxInterval;
            return FrameUtil._flag;
        }

        public static /* const */FrameMaxInterval: int=28;

        public static /* var */isOpen: Boolean=false;

        private static /* var */_frameStartTime: int;

        public static /* var */frameProTimer: int;

        public static /* var */timerProTimer: int;

        public static /* var */messageProTimer: int;

        public static /* var */sortProTimer: int;

        private static /* var */_flag: Boolean=true;

        private static /* var */_passtimes: int;
    }

            FrameUtil.isOpen = false;
            FrameUtil._flag = true;
        